<!DOCTYPE HTML>
<html>
	<head>
		<title>德兴手机批发报价</title>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<!--[if lte IE 8]><script src="../static/assets/js/ie/html5shiv.js"></script><![endif]-->
		<link rel="stylesheet" href="../static/assets/css/main.css" />
		<!--[if lte IE 8]><link rel="stylesheet" href="../static/assets/css/ie8.css" /><![endif]-->
	</head>
	<body>
		<div id="page-wrapper">
			<!-- Header -->
				<header id="header">
					<h1><a href="index">德兴手机批发报价</a></h1>
					<nav id="nav">
						<ul>
							<li><a href="index">主页</a></li>
							<li>
								<a href="smartphone" class="icon fa-angle-down">智能机</a>
								<ul>
									{% for brand in phone_brands %}
									<li><a href="smartphone?brand={{ brand }}">{{ brand }}</a></li>
									{% endfor %}
								</ul>
							</li>
							<li>
								<a href="tablets" class="icon fa-angle-down">平板</a>
								<ul>
									{% for brand in tablet_brands %}
									<li><a href="tablets?brand={{ brand }}">{{ brand }}</a></li>
									{% endfor %}
								</ul>
							</li>
							<li><a href="about">关于</a></li>
							<!-- <li><a href="#" class="button">Sign Up</a></li> -->
						</ul>
					</nav>
				</header>

			<!-- Main -->
				<section id="main" class="container">
                    <header>
						<h2>{{ brand }}</h2>
					</header>
                    <div class="table-wrapper">
                        <table class="alt">
                            <thead>
                                <tr>
                                    <th>品牌</th>
                                    <th>名称</th>
                                    <th>价格</th>
                                    <th>详情</th>
                                </tr>
                            </thead>
                            <tbody>
								{% for item in items %}
                                <tr>
                                    <td>{{ item.brand }}</td>
                                    <td>{{ item.goodsName }}</td>
                                    <td>{{ item.price }}</td>
                                    <td><a href="item?goodsNum={{ item.goodsNum }}">查看更多</a></td>
                                </tr>
								{% endfor %}
                            </tbody>
                        </table>
                    </div>
				</section>

		</div>
		<footer id="footer">
			<ul class="copyright">
				<li>&copy;All rights reserved.</li>
				<li>电话:18866177757</li>
				<li>地址:寿光石码路与圣城街北50米西</li>
			</ul>
		</footer>
		<!-- Scripts -->
			<script src="../static/assets/js/jquery.min.js"></script>
			<script src="../static/assets/js/jquery.dropotron.min.js"></script>
			<script src="../static/assets/js/jquery.scrollgress.min.js"></script>
			<script src="../static/assets/js/skel.min.js"></script>
			<script src="../static/assets/js/util.js"></script>
			<!--[if lte IE 8]><script src="../static/assets/js/ie/respond.min.js"></script><![endif]-->
			<script src="../static/assets/js/main.js"></script>

	</body>
</html>
